package com.codingfuture.erp_system.service;

import com.codingfuture.erp_system.entity.Customer;

import java.util.List;

public interface CustomerService {
    List<Customer> findByAll();

    boolean insertCustomer(Customer customer);

    boolean deleteCustomer(Integer id);

    Customer findById(Integer id);

    boolean updateCustomer(Customer customer);

    List<Customer> findByAll(Customer customer);

    Customer findByName(String name);
}
